projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b7952
)
(grep-mode-tool-bar-map): The same.
author
Jan Djärv
<jan.h.d@swipnet.se>
Fri, 28 Mar 2008 10:05:53 +0000
(10:05 +0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Fri, 28 Mar 2008 10:05:53 +0000
(10:05 +0000)
lisp/progmodes/grep.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/grep.el
b/lisp/progmodes/grep.el
index 6cd5c657aefce4fcaa3b02ebcebdff407a40ba2e..328588065c6ca6e4c1f0c8b707c308c54a850b4d 100644
(file)
--- a/
lisp/progmodes/grep.el
+++ b/
lisp/progmodes/grep.el
@@
-240,6
+240,8
@@
See `compilation-error-screen-columns'"
:help "Goto next match")
(tool-bar-local-item
"cancel" 'kill-compilation 'kill-compilation map
+ :enable '(let ((buffer (compilation-find-buffer)))
+ (get-buffer-process buffer))
:help "Stop grep")
(tool-bar-local-item
"refresh" 'recompile 'recompile map